home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <effect label="MipMap">
- <description>
- Creates/caches a power-of-two "pyramid" (MipMap) of scaled versions of its input.
- It supports the internal property (matrix) _AppliedTransformMatrix and uses it to decide
- the scaled version to return. Used in a pipeline to allow extreme transforms to be rendered effectively since it generates and caches scaled versions.
- It does its scaling using bi-linear interpolation.
- </description>
-
- <scale type="power2"/>
-
- <property name="HasCacheLevel0" type="bool" label="Should it cache level 0 of the MipMap" default="false" />
- <property name="TransformMatrix" type="float[16]" default="1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1" label="Transform Matrix" />
- <property name="MipMapTileSize" type="int" label="Size in KBytes of tiles" default="64">
- <comments>
- The MipMapTileSize is in KBytes, not Bytes
- </comments>
- </property>
-
- <input index="0">
- <comments>
- Only calls input if it hasn't already cached it OR if it hasn't already read it before to generated the higher levels of the MipMap pyramid.
- </comments>
- </input>
-
- </effect>
-